<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo L('phpcms_logon')?></title>
<style type="text/css">
    html{
                width: 100%;
            height: 100%;
    }
	div{overflow:hidden; *display:inline-block;}div{*display:block;}
	.login_box{    font-family: "Microsoft YaHei", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Helvetica, Arial, sans-serif;/*background:url(<?php echo IMG_PATH?>admin_img/login_bg.jpg) no-repeat;*/ width:700px; height:416px; overflow:hidden; position:absolute; left:50%; top:50%; margin-left:-350px; margin-top:-208px;}
	.login_iptbox{left:50%;    text-align: center;
margin-left:-350px;position:absolute;width:700px; overflow:visible;}
	.login_iptbox .ipt{height:24px; width:110px; margin-right:22px; color:#fff; background:url(<?php echo IMG_PATH?>admin_img/ipt_bg.jpg) repeat-x; *line-height:24px; border:none; color:#000; overflow:hidden;}
	<?php if(SYS_STYLE=='en'){ ?>
	.login_iptbox .ipt{width:100px; margin-right:12px;}
	<?php }?>
	.login_iptbox label{ *position:relative; *top:-6px;}
	.login_iptbox .ipt_reg{margin-left:12px;width:46px; margin-right:16px; background:url(<?php echo IMG_PATH?>admin_img/ipt_bg.jpg) repeat-x; *overflow:hidden;text-align:left;padding:2px 0 2px 5px;font-size:16px;font-weight:bold;}
	.login_tj_btn{ background:url(<?php echo IMG_PATH?>admin_img/login_dl_btn.jpg) no-repeat 0px 0px; width:52px; height:24px; margin-left:16px; border:none; cursor:pointer; padding:0px; float:right;}
	.yzm{position:absolute; background:url(<?php echo IMG_PATH?>admin_img/login_ts140x89.gif) no-repeat; width:140px; height:89px;left: 187px;top:-61px; text-align:center; font-size:12px; display:none;}
	.yzm a:link,.yzm a:visited{color:#036;text-decoration:none;}
	.yzm a:hover{color:#C30;}
	.yzm img{cursor:pointer; margin:4px auto 7px; width:130px; height:50px; border:1px solid #fff;}
	.cr{font-size:12px;font-style:inherit;text-align:center;color:#ccc;width:100%; position:absolute; bottom:58px;}
	.cr a{color:#ccc;text-decoration:none;}
	.login_bg{
		    background-image: url(<?php echo IMG_PATH?>admin_img/login_body_bg.jpg);
		    background-repeat: no-repeat;
		    background-size: cover;
                width: 100%;
            height: 100%;
	}
	input.text-ipt {
    width: 250px;
    height: 42px;
    margin-top: 25px;
    padding: 0 15px;
    background: #2d2d2d;
    background: rgba(45,45,45,.15);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #3d3d3d;
    border: 1px solid rgba(255,255,255,.15);
    -moz-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.1);
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}
input.text-ipt:focus {
    outline: none;
    -moz-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset, 0 2px 7px 0 rgba(0,0,0,.2);
}
input.login-btn:active {
    -moz-box-shadow: 0 15px 30px 0 rgba(255,255,255,.15) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 15px 30px 0 rgba(255,255,255,.15) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    box-shadow: 0 5px 8px 0 rgba(0,0,0,.1) inset, 0 1px 4px 0 rgba(0,0,0,.1);
    border: 0px solid #ef4300;
}

input.login-btn:hover {
    -moz-box-shadow: 0 15px 30px 0 rgba(255,255,255,.15) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 15px 30px 0 rgba(255,255,255,.15) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    box-shadow: 0 15px 30px 0 rgba(255,255,255,.15) inset, 0 2px 7px 0 rgba(0,0,0,.2);
}
input.login-btn {
    cursor: pointer;
    width: 80px;
    height: 44px;
    margin-top: 25px;
    padding: 0;
    background: #ef4300;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #ff730e;
    -moz-box-shadow: 0 15px 30px 0 rgba(255,255,255,.25) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 15px 30px 0 rgba(255,255,255,.25) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    box-shadow: 0 15px 30px 0 rgba(255,255,255,.25) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.1);
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
}
input::-webkit-input-placeholder {
    color:    #fff;
}
input:-moz-placeholder {
    color:    #fff;
}
.login_box h2{
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    display: block;
    height: 40px;
    color: #FFF;
    text-align: center;

}
.login_box h6{
    color: #FFF;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.25);
    text-align: center;
    width: 100%;
    height: 18px;
    /* margin: 0 auto 8% auto; */
    /* padding: 0; */
    margin: 0;

}
.avatar{

            display: inline-block;
            vertical-align: text-top;
            margin-left: 14px;
            margin-right: 14px;
}
.avatar img{  
    width: 96px;
            border-radius: 50%;

}
.yzm-ipt{
        width: 80px;
}
</style>
<script language="JavaScript">
<!--
	if(top!=self)
	if(self!=top) top.location=self.location;
//-->
</script>
</head>

<body onload="javascript:document.myform.username.focus();" class="login_bg">
<div id="login_bg" class="login_box">
    <h2 >平台管理中心</h2>
    <h6>商城&nbsp;&nbsp;|&nbsp;&nbsp;资讯&nbsp;&nbsp;|&nbsp;&nbsp;圈子&nbsp;&nbsp;|&nbsp;&nbsp;微商城&nbsp;&nbsp;|&nbsp;&nbsp;统计</h6>
	<div class="login_iptbox">
   	 <form action="index.php?m=admin&c=index&a=login&dosubmit=1" method="post" name="myform" style="    position: relative;">
   	 	<!-- <label><?php echo L('username')?>：</label> -->
   	 	<input name="username" type="text" class="text-ipt" value="" placeholder="请输入用户名"/>
        <div class="avatar"><img src="http://zjsxshkj.top/admin/templates/default/images/login/admin.png" alt=""></div>
   	 	<!-- <label><?php echo L('password')?>：</label> -->
   	 	<input name="password" type="password" class="text-ipt" value=""  placeholder="请输入密码"/>
   	 	<!-- <label><?php echo L('security_code')?>：</label> -->
        <div style="text-align: center;position: relative;    margin-top: 70px;    overflow: visible;"> 
       	 	<input name="code" type="text" style="width: 80px;" class="text-ipt yzm-ipt" onfocus="document.getElementById('yzm').style.display='block'" placeholder="验证码"/>
    	    <div id="yzm" class="yzm">
    	    	<?php echo form::checkcode('code_img')?><br />
    	    	<a href="javascript:document.getElementById('code_img').src='<?php echo SITE_PROTOCOL.SITE_URL.WEB_PATH;?>api.php?op=checkcode&m=admin&c=index&a=checkcode&time='+Math.random();void(0);">
    	    		<?php echo L('click_change_validate')?>
    	    	</a>
    	    </div>
       	 	<input name="dosubmit" value="Login" type="submit" class="login-btn" />
        </div>
     </form>
    </div>
</div>
</body>
</html>